package com.ll.xiaonew.system.api;

import com.ll.xiaonew.system.dto.SysLogDto;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "xiaonew-mains",path = "/sys/log",contextId = "xiaonew-mainsSysLog")
@MapperScan
public interface SysLogService {

    @PostMapping("/save")
    void save(@RequestBody SysLogDto sysLogEntity);

}
